projects
/
cargo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a18bd22
)
list `clean` command in help
author
Christoph Burgdorf
<christoph.burgdorf@bvsn.org>
Fri, 11 Jul 2014 19:43:13 +0000
(21:43 +0200)
committer
Christoph Burgdorf
<christoph.burgdorf@bvsn.org>
Fri, 11 Jul 2014 19:48:05 +0000
(21:48 +0200)
src/bin/cargo.rs
patch
|
blob
|
history
diff --git
a/src/bin/cargo.rs
b/src/bin/cargo.rs
index 3be5ec8176097d9300b30f2b2f98c76108b8f22f..8379a85eb710ce2480c767e70366829c172227de 100644
(file)
--- a/
src/bin/cargo.rs
+++ b/
src/bin/cargo.rs
@@
-50,7
+50,9
@@
fn execute() {
"--help" | "-h" | "help" | "-?" => {
println!("Commands:");
println!(" build # compile the current project");
- println!(" test # run the tests\n");
+ println!(" test # run the tests");
+ println!(" clean # remove the target directory\n");
+
let (_, options) = hammer::usage::<GlobalFlags>(false);
println!("Options (for all commands):\n\n{}", options);